// ------------------------------- 角色接口-成功返回定义 start ---------------------------------------
/**
 * @apiDefine roleRetrieveSuccess
 *
 * @apiSuccess {int} errcode 结果码
 * @apiSuccess {String} errmsg 消息说明
 * @apiSuccess {Object} data 返回数据下面示例为数据结构
 * @apiSuccessExample 成功-返回信息:
 * HTTP/1.1 200 OK
 * {
    "errno": 0,
    "errmsg": "查询成功",
    "data": {
        "count": 1,
        "data": [
            {
                "id": 3,
                "name": "普通用户",
                "code": "customer",
                "remark": "",
                "ds_type": 2,
                "ds_scope": "6,9,10",
                "status": "0",
                "create_time": "2020-11-24 22:02:32",
                "update_time": "2020-11-26 13:08:42",
                "del_flag": 0
            }
        ]
    }
}
 */

/**
 * @apiDefine roleToMenuIdsSuccess
 *
 * @apiSuccess {int} errcode 结果码
 * @apiSuccess {String} errmsg 消息说明
 * @apiSuccess {Object} data 返回数据下面示例为数据结构
 * @apiSuccessExample 成功-返回信息:
 * HTTP/1.1 200 OK
 * {
    "errno": 0,
    "errmsg": "查询成功",
    "data": [
        1,
        2,
        3
    ]
}
 */

/**
 * @apiDefine roleAllSuccess
 *
 * @apiSuccess {int} errcode 结果码
 * @apiSuccess {String} errmsg 消息说明
 * @apiSuccess {Object} data 返回数据下面示例为数据结构
 * @apiSuccessExample 成功-返回信息:
 * HTTP/1.1 200 OK
 * {
    "errno": 0,
    "errmsg": "查询成功",
    "data": [
        {
            "id": 1,
            "name": "管理员",
            "code": "admin",
            "remark": "我是管理员",
            "ds_type": 1,
            "ds_scope": "1,3,4,5",
            "status": "0",
            "create_time": "2020-11-24 22:02:32",
            "update_time": "2020-11-29 12:40:36",
            "del_flag": 0
        },
        {
            "id": 3,
            "name": "普通用户",
            "code": "customer",
            "remark": "",
            "ds_type": 2,
            "ds_scope": "6,9,10",
            "status": "0",
            "create_time": "2020-11-24 22:02:32",
            "update_time": "2020-11-26 13:08:42",
            "del_flag": 0
        }
    ]
}
 */
// ------------------------------- 角色接口-成功返回定义 end -----------------------------------------
